optipic\cdn\ImgUrlConverter C

Total Complexity 120
Dependencies 1
Dependents 1
Total lines 747
Lines of code 421
Logical lines of code 266
Comment lines 146
Methods 25
Properties 12

Methods 25

Method Rating Maintainability Complexity Lines of code
convertHtml()
C
33 24 93
callbackForPregReplace()
A
40 14 57
getUrlFromRelative()
A
48 14 32
loadConfig()
A
50 9 29
getBaseDirOfUrl()
S
54 6 22
getCurrentDomain()
S
57 6 16
callbackForPregReplaceSrcset()
S
52 5 22
isEnabled()
S
58 5 15
getDefaultSettings()
S
56 4 19
resolveFilename()
S
58 4 16
log()
S
57 4 16
textToArray()
S
61 3 13
getResponseHeadersList()
S
60 3 13
__construct()
S
73 3 5
isGz()
S
68 3 6
trimList()
S
63 3 10
getBaseUrlFromHtml()
S
63 2 10
removeBomFromUtf()
S
71 1 5
getPreloadTags()
S
75 1 4
strlen()
S
80 1 3
substr()
S
78 1 3
strtolower()
S
80 1 3
htmlHasAmpMarkup()
S
78 1 3
htmlHasXmlMarkup()
S
78 1 3
getDocumentDoot()
S
80 1 3